package io.lkt.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lkt.modules.sys.entity.BBrandShieldEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 品牌(换成我的)屏蔽表
 *
 * @author xss
 * @email dustwas@163.com
 * @date 2021-09-02 09:19:51
 */
@Mapper
public interface BBrandShieldDao extends BaseMapper<BBrandShieldEntity> {

    List<BBrandShieldEntity> getList(Map<String, Object> map);

    Integer getListTotal(Map<String, Object> map);

    BBrandShieldEntity queryByBrand(@Param("brandId") Integer brandId, @Param("gzhCode") String gzhCode);

    void saveObject(BBrandShieldEntity entity);

    int deleteObjectById(Integer id);
}
